package test;

public class GetterSetter
{
	private String name = ""; 
	private String item = ""; 
     
    public String getName() 
    { 
    	return name; 
    }
    public void setName( String name ) 
    { 
    	if ( name != null && name.trim().length() > 0 ) 
    		this.name = name; 
    }
    public String getItem() 
    { 
    	return item; 
    } 
    public void setItem( String item ) 
    { 
    	if ( item != null && name.trim().length() > 0 ) 
    		this.item = item; 
    } 
}